package com.zhengaz.service.es;

import com.zhengaz.common.security.annotation.EnableZhengAzFeignClients;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author zhengzg
 * @create 2023-09-18 14:27
 */
@Slf4j
@EnableZhengAzFeignClients
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
@EnableDiscoveryClient
public class ZhengAzEsApp {
    public static void main(String[] args) {
        SpringApplication.run(ZhengAzEsApp.class, args);
        log.info("（づ￣3￣）づ 郑啊郑ES服务启动成功 <(￣︶￣)↗  \n" +
                " ________  ________  ________              \n" +
                "|\\_____  \\|\\   __  \\|\\_____  \\       \n" +
                " \\|___/  /\\ \\  \\|\\  \\\\|___/  /|     \n" +
                "     /  / /\\ \\   __  \\   /  / /         \n" +
                "    /  /_/__\\ \\  \\ \\  \\ /  /_/__      \n" +
                "   |\\________\\ \\__\\ \\__\\\\________\\ \n" +
                "    \\|_______|\\|__|\\|__|\\|_______|     ");
    }
}
